package com.example.dao;

import com.example.entity.Focus;

public interface FocusDao {
    //判断
    Focus isFocus(Long userId, Long authordId);

    //关注
    int focus(Focus focus);

     //取消关注
    int cancelFocus(Long userId,Long authordId);

    //更新用户页面关注
    int updateFocus(Long userId);

    //加粉丝,传入作者的id
    int addFan(Long userId);

    //掉粉
    int reduceFan(Long userId);

}